package com.example.myapplication;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ImageView;

import com.bumptech.glide.Glide;

public class ImageViewActivity extends AppCompatActivity {

    private ImageView mIv2;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_image_view);
        mIv2 = findViewById(R.id.iv_2);
        Glide.with(this).load("http://n.sinaimg.cn/mil/crawl/94/w550h344/20190527/e1f0-hxntqyz0696107.jpg").into(mIv2);
    }
}
